class Solution(object):
    def numberOfArithmeticSlices(self, A):
        """
        :type A: List[int]
        :rtype: int
        """
        A.sort()
        aris = []
        length = len(A)


class Arithmetic:
    def __init__(self, A):
        self.f = A[0]
        self.e = A[-1]
